package com.demo.crm.service;

import com.arvato.crm.repository.NamedQueryTools;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by tom on 2017-01-11.
 */
@Slf4j
@Service
public class CurrentMonthyMenberService {
    public List<Map<String,Object>> currentMonthyMenberType(final Map<String,Object>params){


        return NamedQueryTools.queryForMap(
                NamedQueryTools.createDynamicSqlQuery("currentMonthyMenberType",params)

        );
    }
}
